const mongoose = require('./connection')

// 创建schema
const schema = new mongoose.Schema({
  userid:String,
  goodsid:String,
  goodsnumber:Number
})

// 创建model
module.exports = mongoose.model('cart', schema)